package com.yf.response.exceptions;

/**
 * @author chentianwei
 * @date 2024-05-23 10:31
 * @description 功能描述
 */
public class UserValidateException extends RuntimeException {

    public UserValidateException(String message) {
        super(errorMessage(message,"0001"));
    }

    private static String errorMessage(String message,String code){
        return code + ":" + "用户校验失败";
    }
}
